package com.imddysc.jzknavigator.runner;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import com.imddysc.jzknavigator.service.ZknavigatorService;

@Component("jzknavigatorTestRunner")
public class JzknavigatorTestRunner implements CommandLineRunner {
	
	private static final Logger logger = LoggerFactory.getLogger(JzknavigatorTestRunner.class);
	
	@Autowired
	private ZknavigatorService zknavigatorService;
	
	@Override
	public void run(String... args) throws Exception {
		logger.info("jzknavigatorTestRunner ... ");
		zknavigatorService.init();
	}

}
